package com.ggbz.service;

import com.ggbz.entity.CounselorClasses;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 辅导员负责班级表，存储辅导员与班级的关联关系 服务类
 * </p>
 *
 * @author ggbz
 * @since 2025-03-08
 */
public interface CounselorClassesService extends IService<CounselorClasses> {
    List<CounselorClasses> getCounselorClasses(Long counselorId);

    void addCounselorClass(CounselorClasses counselorClass);
    void updateCounselorClass(Long counselorId, String oldClassName, String newClassName);

    /**
     * 删除辅导员负责的班级
     *
     * @param counselorId 辅导员ID
     * @param className   班级名称
     * @return 删除是否成功
     */
    boolean deleteCounselorClass(Long counselorId, String className);
}
